package com.googlecode.sparda.commons.collection;

import java.util.Collection;

public class Select<E> {
	
	private final Predicate<? super E> predicate;
	
	public Select(Predicate<? super E> predicate) {
		this.predicate = predicate;
	}
	
	public <C extends Collection<E>> SelectWork<C, E> over(C collection) {
		return new SelectWork<C, E>(collection, this.predicate);
	}
	
}
